package page;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;


public class page_login {
	
	public static WebElement txtUsername (WebDriver d) {
		e = d.findElement(By.xpath("//input[@id='UserUsername']"));
		return e;
	}
	
	public static WebElement txtPassword (WebDriver d) {
		e = d.findElement(By.xpath("//input[@id='UserPassword']"));
		return e;
	}

	public static WebElement btnSignIn (WebDriver d) {
		e = d.findElement(By.xpath("//button[text()='Sign In']"));
		return e;
	}
	
	public static WebElement chbRemember (WebDriver d) {
		e = d.findElement(By.xpath("//input[@name='rememberme']"));
		return e;
	}
	
	//Variables
	private static WebElement e = null; 
//	private String Username = "//input[@id='UserUsername']";
//	private String Password = "//input[@id='UserPassword']";
//	private String Signin = "//button[text()='Sign In']";
//	private String Remember = "//input[@name='rememberme']";	
}
